<?php

	$id = $_GET['id'];


	
	$time = time();
	$date = date('Y-m-d',  $time);
	

	//$data['user'] = cache_get_user($data['post']['username']);
	//$data['category']=cache_get_category($data['post']['cat_id']);
	//$data['album']=cache_get_album($data['post']['album_id']);
   


   	
   
   	
	// CALCULATOR VIEW --------


	
	

   	
	/*
	 *  Select most viewed news in current day
	 */	
   	
   	
	
	//HEADER TITLE,KEYWORD,DESCRIPION
	$data1['title']=$data['post']['title'];
	$data1['keyword']=$data['post']['title'];

loadview('template/header',$data1);
if($_SESSION['mobile']==0){
loadview("truyen/view",$data);
}


 //    loadview("template/right",$right);

?>